package didi.hcp.questionrobot.service;

import didi.hcp.questionrobot.bo.SopBO;
import didi.hcp.questionrobot.common.QueryRequest;
import didi.hcp.questionrobot.entity.Sop;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import didi.hcp.questionrobot.vo.SopVO;

import java.util.List;

/**
*  Service接口
*
* @author huchengpeng
* @date 2021-12-11 16:37:35
*/
public interface ISopService extends IService<Sop> {

    boolean addSop(SopBO sopBO);

    boolean updateSop(SopBO sopBO);

    boolean deprecatedOrStartSop(SopBO sopBO);

    IPage<Sop> findSops(QueryRequest request, SopBO sopBO);

    List<Sop> getAllSop();
}
